YAYDP\Core\Rule\Cart_Discount\YAYDP_Simple_Discount S

Total Complexity 16
Dependencies 5
Dependents 0
Total lines 151
Lines of code 103
Logical lines of code 46
Comment lines 35
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
get_total_discount_amount()
S
57 4 17
create_possible_adjustment_from_cart()
S
63 3 11
get_coupon_data()
S
52 2 26
get_coupon_content()
S
56 2 20
get_encouragements()
S
61 2 13
add_coupon()
S
67 2 8
get_adjustment_amount()
S
66 1 8